import React, {Component} from 'react';
import './index.less'
import AllSideGoodsItem from "./AllSideGoodsItem";
class AllSideGoods extends Component {
    render() {
        return (
            <div className='allSideGoods'>
                {
                    this.props.data.map(item => {
                        return <AllSideGoodsItem key={item.gid} data={item}/>
                    })
                }
            </div>
        );
    }
}

export default AllSideGoods;